﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using Table = FCNS.Data.Table;

namespace ReportS
{
    /// <summary>
    /// CkKuCun.xaml 的交互逻辑
    /// </summary>
    public partial class CkKuCun : Window
    {
        public CkKuCun()
        {
            InitializeComponent();

            InitVar();
        }

        DoubleH.Utility.UC.DataGridExt dataGridObj = new DoubleH.Utility.UC.DataGridExt();

        private void InitVar()
        {
            uCSearchOrder1.Init(DoubleH.Utility.DataTableText.商品实时库存表);
            InitUI();
        }

        private void InitUI()
        {
            foreach (Table.StoreS ss in Table.StoreS.GetList(Table.StoreS.EnumEnable.启用))
            {
                ColumnDefinition cd1 = new ColumnDefinition();
              
                cd1.Width = new GridLength(80);
                gridMiddle.ColumnDefinitions.Add(cd1);
                ColumnDefinition cd2 = new ColumnDefinition();
                cd2.Width = new GridLength(80);
                gridMiddle.ColumnDefinitions.Add(cd2);
            }
          
        }
    }
}
